package com.deepocean.dao;

import com.deepocean.entity.*;
import com.deepocean.entity.process.DeslimingScreenProcessEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DeslimingScreenDao {
    /**
     * 添加煤泥筛输入输出数据
     * @param deslimingScreenEntity
     * @return
     */
    boolean add(DeslimingScreenEntity deslimingScreenEntity);

    /**
     * 当前时间开始，进一小时数据总和
     * @param deviceId
     * @return
     */
    DeslimingScreenInAndOut1Hour getInAndOutInHour(String deviceId);

    /**
     * 条件查询
     * @param deslimingScreenCondition
     * @return
     */
    List<DeslimingScreenEntity> getDeslimingScreenByCondition(DeslimingScreenCondition deslimingScreenCondition);

    boolean addProcess(DeslimingScreenProcessEntity deslimingScreenProcessEntity);
}
